package me.zhengjie.modules.sync.request;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/11/18 09:42
 */
public class FirsthandRulesDTO {

    private boolean contractDate;

    private boolean marketingHouse;

    public boolean isContractDate() {
        return contractDate;
    }

    public void setContractDate(boolean contractDate) {
        this.contractDate = contractDate;
    }

    public boolean isMarketingHouse() {
        return marketingHouse;
    }

    public void setMarketingHouse(boolean marketingHouse) {
        this.marketingHouse = marketingHouse;
    }

    public boolean isValidParam(){
        return contractDate || marketingHouse;
    }
}
